<template>
  <div>
    <h2 @click="showName">学生名称：{{ name }}</h2>
    <h2>学生性别：{{ gender }}</h2>
    <h2>{{ x }}</h2>
    <h2>{{ y }}</h2>
  </div>
</template>

<script>
import { mixin, mixin2 } from "../mixin";
// import { mixin2 } from "../mixin";
export default {
  name: "StudentInfo",
  data() {
    return {
      name: "阿占",
      gender: "男",
    };
  },
  mixins: [mixin, mixin2],
};
</script>